package com.marktotop.vo.business;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * VaccineSupplierVO - 疫苗供应商VO，供疫苗登记使用
 *
 * @author WXLD
 * @Data 2021/7/15
 * @Since 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class VaccineSupplierVO {

    @ApiModelProperty(value = "供应商ID")
    private Long id;

    @ApiModelProperty(value = "供应商名称")
    @NotBlank(message = "供应商名称不能为空")
    private String name;

    @ApiModelProperty(value = "供应商所属区域")
    private String area;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "供应商电话")
    @NotBlank(message = "电话不能为空")
    private String phone;
}
